<script setup>
const { replace } = useRouter()
</script>

<template>
  <CommonPage :show-header="false">
    <div class="wh-full flex">
      <el-result
        m-auto
        title="404 您访问的页面不存在"
        sub-title="生活总归带点荒谬"
      >
        <template #extra>
          <el-button type="primary" ghost @click="replace('/')">
            返回首页
          </el-button>
        </template>
      </el-result>
    </div>
  </CommonPage>
</template>
